[Manager Summary]

PMPageSetUpDialog


Displays the page setup dialog box for the current printer.
OSStatus PMPageSetUpDialog(PMPageFormat pageFormat, Boolean *accepted)
PARAMETERS
pageFormat
A PMPageFormat object. The object you supply can be new, or it can already exist with a document. The page setup dialog box initially displays the settings contained in this object. If the user changes settings in the dialog box and confirms them, this object contains those new settings.

accepted
A pointer to a Boolean value of TRUE if the user confirmed the dialog box, FALSE if the user clicked the Cancel button. When this value is TRUE, your application should proceed with the requested printing.
function result
A result code. See Result Codes.
DISCUSSION
Your application should call PMPageSetUpDialog in response to the user choosing the Page Setup command from the File menu.
CARBON PORTING NOTES
 The PMPageSetUpDialog function replaces the Printing Manager function PrStlDialog.

SPECIAL CONSIDERATIONS
You should never call PMPageSetUpDialog between the pages of a document.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.